/**
  * Copyright 2019 bejson.com 
  */
package com.filldream.sun.bean.chAddress;
import java.util.List;

/**
 * 中国地区类
 * @author RickSun
 * 2019-10-13 11:05
 */
public class ChAddress {
    //邮政编码
    private String adcode;
    //行政等级
    private String level;
    //行政地区名
    private String name;
    //直属下级行政地区
    private List<Districts> districts;

    public String getAdcode() {
        return adcode;
    }

    public void setAdcode(String adcode) {
        this.adcode = adcode;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Districts> getDistricts() {
        return districts;
    }

    public void setDistricts(List<Districts> districts) {
        this.districts = districts;
    }

    @Override
    public String toString() {
        return "ChAddress{" +
                "adcode='" + adcode + '\'' +
                ", level='" + level + '\'' +
                ", name='" + name + '\'' +
                ", districts=" + districts +
                '}';
    }
}